using System;
using System.Reflection;
using System.Drawing;
using System.Drawing.Imaging;
using System.Diagnostics;
using System.IO;
using System.Text;
using System.Xml;
using System.Xml.Serialization;
using System.Windows.Forms;

using System.Security;
using System.Security.Permissions;
using System.Web;
using System.Web.Security;
using Microsoft.SharePoint.Security;

using stsdev;

namespace WcmSolutionProviders {
  public class WcmSP1 : ISolutionProvider {

    public string Title {
      get { return "Custom WCM Provider 1"; }
    }

    public void InitializeSolution() {
      SolutionBuilder.AssemblyDeployment = true;
      SolutionBuilder.SafeControlSettings = true;
      SolutionBuilder.DeploymentTarget = AssemblyDeploymentTarget.GlobalAssemblyCache;
      SolutionBuilder.CasPermissions = false;
    }

    public void AddSolutionItems() {
      WebPartBuilder.CreateWebPart("FooWebPart");
      WebPartBuilder.CreateWebPart("BarWebPart");
      WebPartBuilder.CreateWebPartFeature();
    }
    
  }
}
